﻿namespace FiftyOne.Foundation.Mobile.Detection.Wurfl.Configuration
{
    using System;
    using System.Configuration;

    public sealed class CapabilityElement : ConfigurationElement
    {
        [ConfigurationProperty("capabilityName", DefaultValue="model_name", IsRequired=true, IsKey=true), StringValidator(InvalidCharacters=".!@#$%^&*()[]{};'\"|\\", MinLength=1, MaxLength=0xff)]
        public string CapabilityName
        {
            get
            {
                return (string) base["capabilityName"];
            }
            set
            {
                base["capabilityName"] = value;
            }
        }
    }
}

